package com.mindbook.vip.gawxchatinfo.exception.crud;

import com.mindbook.vip.gawxchatinfo.exception.BasicException;
import com.mindbook.vip.gawxchatinfo.utils.result.ResultEnum;

/**
 * @NAME: wxb
 * @DATE: 2022/5/16
 * @Description 数据库访问异常
 **/
public class CurdException extends RuntimeException {

    public ResultEnum resultEnum;

    public ResultEnum getResultEnum() {
        return resultEnum;
    }

    public void setResultEnum(ResultEnum resultEnum) {
        this.resultEnum = resultEnum;
    }

    public CurdException(ResultEnum resultEnum) {
        this.resultEnum = resultEnum;
    }
}
